package com.zxx.coolweather._wuguan2;

import java.util.List;

/**
 * @author zxx on 2022/1/12
 */
public class WeatherBean {

    public List<HeWeatherBean> HeWeather;

    public static class HeWeatherBean {
        public BasicBean basic;
        public UpdateBean update;
        public String status;
        public NowBean now;
        public AqiBean aqi;
        public SuggestionBean suggestion;
        public String msg;
        public List<DailyForecastBean> daily_forecast;

        public static class BasicBean {
            public String cid;
            public String location;
            public String parent_city;
            public String admin_area;
            public String cnty;
            public String lat;
            public String lon;
            public String tz;
            public String city;
            public String id;
            public UpdateBean update;
        }

        public static class UpdateBean {
            public String loc;
            public String utc;

            @Override
            public String toString() {
                return "UpdateBean{" +
                        "loc='" + loc + '\'' +
                        ", utc='" + utc + '\'' +
                        '}';
            }
        }

        public static class NowBean {
            public String cloud;
            public String cond_code;
            public String cond_txt;
            public String fl;
            public String hum;
            public String pcpn;
            public String pres;
            public String tmp;
            public String vis;
            public String wind_deg;
            public String wind_dir;
            public String wind_sc;
            public String wind_spd;
            public CondBean cond;

            public static class CondBean {
                public String code;
                public String txt;
            }
        }

        public static class AqiBean {
            public CityBean city;

            public static class CityBean {
                public String aqi;
                public String pm25;
                public String qlty;
            }
        }

        public static class SuggestionBean {
            public ComfBean comf;
            public ComfBean sport;
            public ComfBean cw;

            public static class ComfBean {
                public String type;
                public String brf;
                public String txt;
            }
        }

        public static class DailyForecastBean {
            public String date;
            public CondBeanX cond;
            public TmpBean tmp;

            public static class CondBeanX {
                public String txt_d;
            }

            public static class TmpBean {
                public String max;
                public String min;
            }
        }


        @Override
        public String toString() {
            return "HeWeatherBean{" +
                    "basic=" + basic +
                    ", update=" + update +
                    ", status='" + status + '\'' +
                    ", now=" + now +
                    ", aqi=" + aqi +
                    ", suggestion=" + suggestion +
                    ", msg='" + msg + '\'' +
                    ", daily_forecast=" + daily_forecast +
                    '}';
        }
    }
}
